package com.iyao_app.util;

/**
 * 作者 :  胡家兵
 * 时间 :  2017/12/8.
 */

public class MessageEvent {

    public static int USER_INFO_REFUSH = 1;//更新用户信息
    public static int PUBLISH = 2;//发布故事墙
    public static int UPDATE_STORY = 3;//更新点赞数 评论数
    public static int CLOSE = 4;//更新点赞数 评论数
    public static int MANOR = 5;//更新领主
    private int state;
    private Object message;

    public Object getMessage() {
        return message;
    }

    public void setMessage(Object message) {
        this.message = message;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public MessageEvent(int state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "MessageEvent{" +
                "state=" + state +
                ", message=" + message +
                '}';
    }
}
